package com.csun.cmny.provider.dto;

import com.csun.cmny.provider.validator.OmcAdvisoryAddValidator;
import com.csun.cmny.provider.validator.OmcAdvisoryEditValidator;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
public class AdvisoryDto implements Serializable {

    private static final long serialVersionUID = 7551000218787883036L;

    /**
     * 礼品Id
     */
    @NotNull(message = "{advisory.id.null}",
            groups = {OmcAdvisoryEditValidator.class})
    private Long id;

    /**
     * 咨询人名称
     */
    private String advisoryName;

    /**
     * 联系方式1
     */
    @NotNull(message = "{advisory.advisoryPhone.null}",
            groups = {OmcAdvisoryAddValidator.class})
    @NotEmpty(message = "{advisory.advisoryPhone.null}",
            groups = {OmcAdvisoryAddValidator.class})
    private String advisoryPhone;

    /**
     * 老人姓名
     */
    @NotNull(message = "{advisory.name.null}",
            groups = {OmcAdvisoryAddValidator.class})
    @NotEmpty(message = "{advisory.name.null}",
            groups = {OmcAdvisoryAddValidator.class})
    private String oldName;

    /**
         * 老人性别 0 男 1 女
     */
    @NotNull(message = "{advisory.oldSex.null}",
            groups = {OmcAdvisoryAddValidator.class})
    private Integer oldSex;

    /**
     * 意向床位 1 单人间 2 双人间 3 三人间 4 4人间及以上
     */
    private String intentionBed;

    /**
     * 预约床位——床位id
     */
    private Integer bedId;

    /**
     * 预约放间——房间id
     */
    private Integer roomId;

    /**
     * 咨询方式 1 到访 2 电话
     */
    private Integer advisoryWay;

    /*护理等级id*/
    private Long levelCareId;

    /**
     * 入住状态 1 咨询 2 入住
     */
    private Integer advisoryStatus;

    /**
     * 接待人
     */
    private String receptionist;

    /**
     * 住址
     */
    private String address;

    /**
     * 咨询日期 2018-03-28
     */
    private String advisoryDate;

    /**
     * 出生日期 2018-06-06
     */
    private String birthday;

    /**
     * 与老人关系 1-子女 2-兄弟姐妹 3-旁系亲属 4-朋友 5-其他
     */
    private Integer relationship;

    /**
     * 咨询人联系方式2
     */
    private String advisoryPhoneTwo;

    /**
     * 组织Id
     */
    private Long groupId;

    /*
     * 楼栋id
     * */
    private Integer buildingId;

    /**
     * 备注
     */
    private String remark;

    /*
    * 楼层号
    * */
    private Integer floorNo;

}
